import request from '@/utils/request'

export function getPropellingList(query) {
  return request({
    url: '/messenger/propelling/getList',
    method: 'post',
    data: query
  })
}

export function getPropellingDetail(data) {
  return request({
    url: '/messenger/propelling/getDetail',
    method: 'post',
    data: data
  })
}

export function removePropellingByID(data) {
  return request({
    url: '/messenger/propelling/delete',
    method: 'post',
    data: data
  })
}
export function changePropellingStatusByID(data) {
  return request({
    url: '/messenger/propelling/change-status',
    method: 'post',
    data: data
  })
}

export function savePropelling(data) {
  return request({
    url: '/messenger/propelling/save',
    method: 'post',
    data
  })
}